//
//  GJChooseDateView_new.h
//  YDGJ
//
//  Created by 黄卫 on 17/2/24.
//  Copyright © 2017年 huangwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface GJDateButton_ : UIButton

@property (nonatomic, copy) NSString *dateStr;

@end

@interface GJChooseDateView_new : UIView

typedef NS_OPTIONS(NSInteger,DateChoosenViewStyle) {
    DateChoosenViewStyleSingle=-1,  //单选
    DateChoosenViewStyleNormal=0,   //普通(不带时分秒)，起始日期
    DateChoosenViewStyleDate=1,     //完整(带时分秒)，起始日期
};

+ (void)showWithStyle:(DateChoosenViewStyle)style selectedBlock:(void (^)(NSString *,NSString *))blk;

+ (void)showWithStyle:(DateChoosenViewStyle)style startDate:(NSString *)startDate endDate:(NSString *)endDate selectedBlock:(void (^)(NSString *,NSString *))blk;

@end
